package entity

type UserJob struct {
	UserId int64 `gorm:"column:user_id;type:BIGINT" json:"user_id"`

	JobId int64 `gorm:"column:job_id;type:BIGINT" json:"job_job_id"`
}

func (a *UserJob) TableName() string {
	return "user_jobs"
}

type UserActive struct {
	ID        int64  `gorm:"column:id;type:Bigint" json:"id" `
	Year      int64  `gorm:"column:year;type:BIGINT" json:"year"`
	Month     int64  `gorm:"column:month;type:BIGINT" json:"month"`
	Day       int64  `gorm:"column:day;type:BIGINT" json:"day"`
	Total     int64  `gorm:"column:total;type:BIGINT" json:"total"`
	Origin    string `gorm:"column:origin;type:VARChar(128)" json:"origin"`
	CreatedAt int64  `gorm:"column:created_at;type:BIGINT" json:"created_at"`

	UpdatedAt int64 `gorm:"column:updated_at;type:BIGINT" json:"updated_at"`
}

func (a *UserActive) TableName() string {
	return "user_active"
}
